package com.banmoon.adapter;

public class Phone {

    public void recharge(int voltage){
        if(voltage==5){
            System.out.println("手机正在充电中");
        }else{
            System.out.println("电压不匹配，手机要爆了");
        }
    }

}
